const app = {
    state: {
        sidebar: {
            open: true
        },
        componentTitle: '',
        thirdRouteArr: []

    },
    mutations: {
        Set_componentTitle(state, data) {
            state.componentTitle = data;
        },
        set_thirdRouteArr(state, data) {
            state.thirdRouteArr = data;
        }
    },
    actions: {
        Set_componentTitle({commit}, data) {
            commit('Set_componentTitle', data);
        },
        Set_thirdRouteArr({commit}, data) {
            commit('set_thirdRouteArr', data);
        }
    }
}

export default app